<html>
<head>
<meta charset="UTF-8">
<title>流程节点路由详情</title>
<link href="../../static/plugin/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/plugin/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<link href="../../static/css/esaas-easyui-view.css" rel="stylesheet" type="text/css"/>
<script src="../../static/plugin/easyui/jquery.min.js" type="text/javascript"></script>
<script src="../../static/plugin/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/plugin/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">流程节点路由信息</div>
	    	<table class="esaas-info-view-table">
			<tr>
				<td width="15%" align="right">条件标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="condId" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">链接标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="linkedId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">条件字段代码：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="condFieldCode" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">条件字段名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="condFieldName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">条件逻辑关系：</td>
				<td width="35%"><select class="easyui-combobox"
					id="condLogicRelation" name="condLogicRelation"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:COND_LOGIC_RELATION">
				</select></td>
				<td width="15%" align="right">比较符：</td>
				<td width="35%"><select class="easyui-combobox"
					id="condCompareSign" name="condCompareSign"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:COND_COMPARE_SIGN">
				</select></td>
			</tr>
			<tr>
				<td width="15%" align="right">比较目标类型：</td>
				<td width="35%"><select class="easyui-combobox"
					id="compareTargetType" name="compareTargetType"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:COMPARE_TARGET_TYPE">
				</select></td>
				<td width="15%" align="right">常量值：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="constValue" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">参数名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="paramFieldName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">参数代码：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="paramFieldCode" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
	    	</table>
	    </form>
	    <div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	    </div>
	</div>
	<script>	
		$(function() {
			var condId = $.getUrlParam('condId');
			$.restfulGet('../../api/bpm/node/route/' + condId,null,function(data){
					$('#ff').form('load', {
						condId : data.rows.condId,
						linkedId : data.rows.linkedId,
						condFieldCode : data.rows.condFieldCode,
						condFieldName : data.rows.condFieldName,
						condLogicRelation : data.rows.condLogicRelation,
						condCompareSign : data.rows.condCompareSign,
						compareTargetType : data.rows.compareTargetType,
						constValue : data.rows.constValue,
						paramFieldName : data.rows.paramFieldName,
						paramFieldCode : data.rows.paramFieldCode
					});					
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
